import store from './redux/store'
import { add, addAsync } from './redux/actions'

store.subscribe(() => {
  console.log(store.getState())
})
store.dispatch(add(9))
store.dispatch(add(6))

store.dispatch(addAsync(8))
